import React from "react"
import Icon from "@ant-design/icons"
interface Iprops {
	size: string
	svgComponet: any
}
const SvgIcon: React.FC<Iprops> = ({ size, svgComponet }) => {
	return <Icon component={svgComponet} style={{ fontSize: size }} />
}

export default SvgIcon
